Use the accelerator key win+r to open the Run window. Enter CMD return to open a command prompt window
1: View the port that is open for this machine, that is, the number of ports that have been occupied.
Command:
Netstat-an
Partial results list:
Proto Local Address ForeignTCP 0.0.0.0:135 0.0.0.0:0 ListeningTCP 0.0.0.0:3473 0.0.0.0:0 ListeningTCP 0.0.0.0:8009 0.0.0.0:0 Listening
The local addresss corres
user FD type device size node nameHttpd5014Root 3u IPv4 14346 TCP server2: HTTP (Listen)
2. view the executable program corresponding to the process according to the process number
PS-F-p process number #
PS-F-P 5014
Uid pid ppid C stime tty time cmd
Root 5014 1 0? 00:00:00/usr/local/Apache/bin/httpd-K
3. view the dynamic link based on the executable program
LDD Executable File Name
LDD/usr/local/Apache/
a) Modify the port number:find the Server.xml inside the Conf in the Tomcat filein the file after Tomcat decompression, follow the actionOpen the fileafter the file is opened ( e.g. ) Tomcat default 8080 port, the system default configurationModify the Tomcat server-initiated port to port 8081This will change the origi
Apache modifies the port number to modify the root directory to build multiple websites, Apache port number
Modify Apache Port numberSelect Httpd.conf under Apache, look for: Listen, you will see#Listen 12.34.56.78:80Listen 80Change 80 to 90, save it.
Modify the default
Database port number and other configuration (transfer), Database port number Configuration
I. Oracle
Driver: oracle. jdbc. OracleDriver
URL: jdbc: oracle: thin: @
Port_number: port number. The default value is 1521.
Ii. SQL Serv
Normal database connection string configuration, which is the case where the MSSQL server port is 1433 (default).But sometimes, for the database server to be secure, the port is changed to something else, and then connecting to the database may report the following error:An error occurred while establishing a connection to the server. When you connect to SQL Server 2005, this failure may be caused by SQL Se
Use the accelerator key win+r to open the Run window. Enter CMD return to open a command prompt window
1: View the port that is open for this machine, that is, the number of ports that have been occupied. Command:
Netstat-an
Partial results list:
Proto Local Address Foreign
TCP 0.0.0.0:135 0.0.0.0:0 Listening
TCP 0.0.0.0:3473 0.0.0.0:0 Listening
TCP 0.0.0.0:8009 0.0.0.0:0 Listening
The local addresss corr
Modify the Tomcat port number method and the tomcat port number
Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.
Deep Blue blog: http://blog.csdn.net/huangyanlong/arti
Tags: style blog http color io os strong SP dataSQL ServerInstall the first instance, the default instance port is 1433,If there are multiple instances in a library,The port starting from the second instance is a dynamic port, which, if required, is manually specified as a static port, as specifiedThe second instance i
1, first find to occupy 8080 port process number PID is how muchCmd>netstat-ano | findstr 8080The last column of this command output indicates the number of process numbers that occupy port 8080, assuming 12342. Kill the Processcmd>taskkill/f/pid 1234This article is from the "Exist" blog, make sure to keep this source
Tags: style blog http io sp file div.MySQL default port number is 3306, if install multiple or conflict need to modify the port number, modify the port number of the My.ini, the file is normally under the installation directory. H
command view.End the process: Select the process in Task Manager to click the "End Process" button, or in the cmd command window, enter: taskkill/f/t/im Tencentdl.exe.Ways to end a process with a command:1, with taskkill command1.TASKKILL/IM Process NameExample: Turn tomcat off with the Taskkill/im tomcat7.exe command.2.taskkill/pid[Process Code]-T (end the process)-F (Force end of the process and all child processes)Note: There are two ways to check the PID code of the process:1. Use the taskl
Common service name and port number, name port number
Port name port number/protocol alias
Ftp 21/tcp
Telnet 23/tcp
Smtp 25/tcp mail
Nicename 43/tcp whois
Domain 53/tcp nameserver
Dom
Port numberProtocol Port number:The full name of the port number is the protocol port number, it is used for the application layer and transfer into the interaction, when creating a socket need to know the IP address and
This time, say "ports" and "Port numbers".Usually hear people say "open port 80th", in order to secure "do not open redundant ports" and so on. So, what are the ports or port numbers here?First, the "port" is a concept used on TCP or UDP and is often likened to "windows". Also, the
Obtain the COM port number mapped to the serial port
Background: Recently, due to project requirements, you need to operate the SMS cat. After the SMS cat is inserted into the computer, it will map the COM port based on the current PC status. Here, you need to dynamically obtain the COM
If you have to use a non-80 port to build the site, you can use the Phpwamp built-in function "One click to clear the domain name of non-80 port"The case uses the "Go Port" function module which I developed the pure green PHP integration Environment Phpwamp , the version number is 8.1.8.8Case Demo:Click on the Common t
The following is an example of Z-tek (USB2.0) to a serial adapter (model ZK-U03-2A):
1, according to the requirements of the installation of the adapter driver, "Device Manager/Port", you can find a "USB serial Port (COM4)", the following figure:
2, right click on "USB serial Port (COM4)", select "Properties", as shown:
3, select the "
firewall on and off (effective immediately, fail after reboot): $ sudo service iptables start #开启 $ sudo service iptables stop #关闭 firewall on and off (takes effect after reboot): $ sudo chkconfig iptables on$ sudo chkconfig iptables off To open the relevant port : Modify the/etc/sysconfig/iptables file to add the following: -A input-p tcp-m state--state new-m TCP--dport 22-j ACCEPT After modifying the iptables, restart the firewall to take effect:
description above, Port 8005 is occupied.3. WorkaroundEnter the command in cmd:Netstat-ano, look at the occupancy of all ports, find the process PID that occupies Port 8005, and then delete the process in Task Manager and start Tomcat. If you find it inconvenient to use the cmd command, you can use a software called TCPView. CMD under View port as shown:(CRTL+SH
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.